package com.service.imp;

import com.mapper.CePingMapper_x;
import com.pojo.CePing_x;
import com.service.CePingService_x;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CePingServiceXImp_x implements CePingService_x {
    @Autowired
    private CePingMapper_x cePingMapper;
    @Override
    public List<CePing_x> listAll() {
        return cePingMapper.listAll();
    }



    @Override
    public List<CePing_x> listAll2() {
        return cePingMapper.listAll2();
    }

    @Override
    public Integer add(CePing_x cePingX) {
        return cePingMapper.add(cePingX);
    }

    @Override
    public Integer update(CePing_x cePingX) {
        return cePingMapper.update(cePingX);
    }

    @Override
    public Integer delete(Integer id) {
        return cePingMapper.delete(id);
    }


    @Override
    public List<CePing_x> select(Integer id, String title) {
        return cePingMapper.select(id, title);
    }
}
